home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1996 September
/
cd joy 74 No16.iso
/
pc
/
data
/
cooli
/
agpg
/
pgcd.txt
< prev
next >
Wrap
Text File
|
1995-10-01
|
5KB
|
115 lines
While I was writing PZGMAPED, a program which allows you to create new
Panzer General scenarios (or alter existing ones), I was disappointed to
think that the results would only be available to those who owned the
floppy disk version of the game.
With a little experimentation (I only crashed to DOS 8 times!), I found a
way to modify the CD-ROM version of Panzer General so it reads scenarios
off one's hard disk. If you can drive a hex editor, you can use custom Panzer
General scenarios with your CD-ROM version of the game.
--Charles Tyson
Genie: C.TYSON1 / CIS 102004,333
****************************************************************************
CAUTIONS:
Make these modifications at your own risk.
You MUST run Panzer General from DOS, not Windows. YOU MAY CORRUPT YOUR
HARD DISK IF YOU TRY TO RUN UNDER WINDOWS (According to MS-DOS help, the
APPEND command is incompatible with Windows).
Note that after you make these modifications, you will still need to
have the Panzer General CD-ROM in your CD-ROM drive to run the game.
****************************************************************************
STRATEGY:
The CD-ROM version of Panzer General tries to read all scenario information
off the CD-ROM. Our plan is to copy the scenario files to a directory on
the hard disk. Then, we'll alter the PANZER.EXE file so it hunts for
scenario information in a non-existent directory on the CD-ROM. Finally,
we'll use the DOS APPEND command to provide an alternate source of scenario
data files: namely, the scenario directory on your hard disk.
****************************************************************************
ONE-TIME STEPS:
(I'll assume that the Panzer General directory on your hard disk is
named C:\PG, and that your CD-ROM drive is named D: ... adjust the following
instructions for your particular disk configuration)
1. Move to C:\PG\EXE. There you'll find a file named PANZER.EXE. Make a
copy of this file; call it P2.EXE.
2. Now you need a hex editor. Search in P2.EXE for "\dat\game0" (without
the quotes, of course). It only occurs once.
Change "\dat\game0" to "\mat\game0".
Search for "\dat\map0" (it occurs once, just below "\dat\game0").
Change it to "\mat\map0".
Save your changes.
3. Move to C:\PG. Make a copy of the file PG.BAT; call it PG2.BAT.
4. Edit the original PG.BAT (the batch file that you use to
start the game).
Below the "@echo off" line, insert this line:
APPEND C:\PG\DAT
(remember, adjust this and all other directory references to your
own directory structure)
Near the bottom of the file, you'll find two occurences of the line
"panzer.exe". Change both to read
P2.EXE
Finally, insert a line below the ":END" label:
APPEND ;
(this cancels the previous APPEND command)
Save your changes.
5. Move to C:\PG\DAT. Place your Panzer General CD-ROM in the D: drive.
Copy the scenarios to the hard disk with the following instructions:
XCOPY D:\DAT\GAME0*.* C:\PG\DAT
XCOPY D:\DAT\MAP*.* C:\PG\DAT
COPY D:\DAT\PANZEQUP.EQP C:\PG\DAT
6. While you're still in C:\PG\DAT, type in the following commands:
MKDIR BAK
COPY GAME002.SCN BAK
COPY MAP02.* BAK
Now you have a backup of scenario 2, and can run new scenarios in place
of scenario 2. See below for details.
****************************************************************************
RUNNING IT
As a test, type "PG" from your Panzer General directory. If you've made any
mistakes, the game will crash when you click on the "Start Scenario"
button.
A new or modified scenario consists of three files:
GAME0xx.SCN
MAPxx.SET
MAPxx.STM
(where xx represents a number from 39 to 99. Numbers 01 to 38 are the
game's original scenarios). To use a new scenario, two of the three files
(the SET and SCN files) must be copied over an original scenario. Scenario
01 cannot be used for this purpose, so I use scenario 02, Warsaw.
Included in this archive is a batch file called PGPLAY.BAT. Place this in
your C:\PG directory. PGPLAY takes one parameter: a 2-digit number
representing the new scenario you want to play (e.g. PGPLAY 99). PGPLAY
does all the necessary file copying, then calls the PG.BAT file to run the
game. When you quit Panzer General, PGPLAY uses the scenario BAK files to
restore the original state of affairs.
When Panzer General starts, click on "S" (Play a scenario) and select the
Warsaw scenario. Though it will have the description of the 1939 battle,
you'll see when the game begins that you are actually playing the new
scenario.